/**
 * 
 */
package com.gosophia.conferenceManagement.common.dto;

import java.util.Date;

/**
 * 功能:会议的任务任务处理 数据对象
 * 
 * @author zhangdongsheng
 * @since 2011-3-29 Copyright (c) 2010 Gosophia corporation All Rights Reserved
 */
public class ConferenceJobHandleDTO {
	private Long conferenceJobHandId;
	/** 处理的任务id */
	private Long jobId;
	/** 操作人id */
	private long operatorId;
	/** 操作人姓名 */
	private String operatorName;
	/** 操作时间 */
	private Date operatorTime;
	/** 下一处理人 */
	private Long nextOperatorId;
	/** 处理动作 */
	private String handleAction;
	/** 处理意见（备注、说明 */
	private String opinion;

	public Long getConferenceJobHandId() {
		return conferenceJobHandId;
	}

	public void setConferenceJobHandId(Long conferenceJobHandId) {
		this.conferenceJobHandId = conferenceJobHandId;
	}

	public ConferenceJobHandleDTO() {

	}

	/**
	 * @param jobId
	 * @param operatorId
	 * @param nextOperatorId
	 * @param handleAction
	 * @param opinion
	 */
	public ConferenceJobHandleDTO(Long jobId, long operatorId,
			Long nextOperatorId, String opinion) {
		this(jobId, operatorId, nextOperatorId, "default", opinion);
	}

	/**
	 * @param jobId
	 * @param operatorId
	 * @param nextOperatorId
	 * @param handleAction
	 * @param opinion
	 */
	public ConferenceJobHandleDTO(Long jobId, long operatorId,
			Long nextOperatorId, String handleAction, String opinion) {
		super();
		this.jobId = jobId;
		this.operatorId = operatorId;
		this.nextOperatorId = nextOperatorId;
		this.handleAction = handleAction;
		this.opinion = opinion;
	}

	// getter settter
	public Long getJobId() {
		return jobId;
	}

	public long getOperatorId() {
		return operatorId;
	}

	public Long getNextOperatorId() {
		return nextOperatorId;
	}

	public String getHandleAction() {
		return handleAction;
	}

	public String getOpinion() {
		return opinion;
	}

	public void setJobId(Long jobId) {
		this.jobId = jobId;
	}

	public void setOperatorId(long operatorId) {
		this.operatorId = operatorId;
	}

	public void setNextOperatorId(Long nextOperatorId) {
		this.nextOperatorId = nextOperatorId;
	}

	public void setHandleAction(String handleAction) {
		this.handleAction = handleAction;
	}

	public void setOpinion(String opinion) {
		this.opinion = opinion;
	}
	

    public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public Date getOperatorTime() {
		return operatorTime;
	}

	public void setOperatorTime(Date operatorTime) {
		this.operatorTime = operatorTime;
	}

	@Override
	public String toString() {
		return "ConferenceJobHandleDTO [conferenceJobHandId="
				+ conferenceJobHandId + ", handleAction=" + handleAction
				+ ", jobId=" + jobId + ", nextOperatorId=" + nextOperatorId
				+ ", operatorId=" + operatorId + ", operatorName="
				+ operatorName + ", operatorTime=" + operatorTime
				+ ", opinion=" + opinion + "]";
	}

	
}
